#-------------------------------------------------------------------
# This file is part of the CMake build system for MP Galaxy
#     (Multi Player Galaxy Game)
# For the latest info, see http://www.MPG3d.org/
#
# The contents of this file are placed in the public domain. Feel
# free to make use of it in any way you like.
#-------------------------------------------------------------------

####################################
#  MP-Galaxy BUILD SYSTEM 
#  directory: util/Kernel
####################################

PROJECT(CoreKernel)

set (HEADER_FILES
	AppContext.h
	Galaxy.h
	ManagerFactory.h
	ModuleManager.h
)

set (SOURCE_FILES
	AppContext.cpp
	Galaxy.cpp
	ManagerFactory.cpp
)

set (LIBRARIES
	InputOIS
	GfxOgre
	Logic
)

include_directories (${MPG_SOURCE_DIR} ${OIS_INCLUDE_DIR})

add_library (CoreKernel STATIC ${HEADER_FILES} ${SOURCE_FILES})
target_link_libraries(CoreKernel ${LIBRARIES})
